package com.zcurd.common.conf;

import com.jfinal.config.Routes;
import com.zcurd.controller.CommonController;
import com.zcurd.controller.LoginController;
import com.zcurd.controller.MainController;
import com.zcurd.controller.MenuController;
import com.zcurd.controller.RoleController;
import com.zcurd.controller.SysJobController;
import com.zcurd.controller.SysOplogController;
import com.zcurd.controller.ZcurdController;
import com.zcurd.controller.ZcurdHeadController;

public class SysRoutes extends Routes {

	@Override
	public void config() {
		// TODO Auto-generated method stub
		add("/login", LoginController.class, "/zcurd/login");
		add("/zcurd", ZcurdController.class, "/zcurd/zcurd");
		add("/zcurdHead", ZcurdHeadController.class, "/zcurd");
		add("/menu", MenuController.class, "/zcurd/menu");
		add("/main", MainController.class, "/zcurd");
		add("/role", RoleController.class, "/zcurd/role");
		add("/common", CommonController.class, "/zcurd");
		add("/oplog", SysOplogController.class, "/zcurd/sysOplog");
		add("/job", SysJobController.class, "/zcurd/job");
	}

}
